<?php View::render('admin/layouts/meta');?>
<body>
    <style>
        .u-tab-hd{height:50px;font-szie:16px;margin:5px;font-weight: bolder;}
    </style>
<div class="cl pd-20" style=" background-color:#f5fafe">
	<img class="avatar size-XL l" src="<?php echo $userInfo['avatar']; ?>">
	<dl style="margin-left:80px;">
		<dt>
			<span class="f-18">昵称：<?php echo $userInfo['nick_name']; ?></span>
		</dt>
        <dt>
			<span class="f-14">联系方式：<?php echo $userInfo['mobile']; ?></span>
		</dt>
        <dt>
            <span class="f-14">openId：<?php echo $userInfo['openId']; ?></span>
        </dt>
	</dl>
</div>

<div>
<h4 class="cl pd-20">用户信息:</h4>
<div class="cl pd-20" style=" background-color:#f5fafe">
    <table class="table">
        <tbody>
            <?php if ($userInfo) {
	?>
            <tr>
                    <th class="text-r" width="50">姓名：</th>
                    <td><?php echo $userInfo['name']; ?></td>
                    <th class="text-r" width="50">等级：</th>
                    <td>
                        <?php
                        echo $userInfo["level_name"];
                        ?>
                    </td>
                </tr>
                <tr>
                    <th class="text-r" width="50">学校：</th>
                    <td><?php echo $userInfo['school']; ?></td>
                    <th class="text-r" width="50">学院：</th>
                    <td>
                        <?php
                        echo $userInfo["college"];
                        ?>
                    </td>
                </tr>
                <tr>
                    <th class="text-r" width="50">身份：</th>
                    <td><?php echo $userInfo['identity']; ?></td>
                    <th class="text-r" width="50">邮箱：</th>
                    <td>
                        <?php
                        echo $userInfo["mailbox"];
                        ?>
                    </td>
                </tr>
<?php } else {?>
            <tr>
                <td>暂无第三方绑定信息</td>
            </tr>
<?php }?>
        </tbody>
    </table>
</div>


</body>
<?php View::render('admin/layouts/footer');?>
<script type="text/javascript" src="<?php echo Router::getBaseUrl(); ?>/lib/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript" src="<?php echo Router::getBaseUrl(); ?>/lib/jquery.validation/1.14.0/jquery.validate.js"></script>
<script type="text/javascript" src="<?php echo Router::getBaseUrl(); ?>/lib/jquery.validation/1.14.0/validate-methods.js"></script>
<script type="text/javascript" src="<?php echo Router::getBaseUrl(); ?>/lib/jquery.validation/1.14.0/messages_zh.js"></script>
<script type="text/javascript">
$(function(){
    $('body').Huitab({
        tabBar:".hui-tab .u-tab-hd",
        tabCon:".hui-tab-body .u-tab-bd",
        className:"current",
        index:0,
    });
});
</script>
</html>